package ink.xiaobaibai.valited;

import ink.xiaobaibai.parameterValid.BaseParameter;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@BaseParameter(validClass = DeviceStatusValueConstraint.class)/*指定上自定义的校验类*/
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
public @interface DeviceStatusValid {

    String message() default "机器状态不正确";

}
